home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
UNZIP102
/
ABOUT_UN.02C
next >
Wrap
Text File
|
1990-07-14
|
7KB
|
139 lines
UnZip 1.02c July 14, 1990
===========================
CHANGE HISTORY:
--------------
UnZip 1.02c July 14, 1990:
1. corrected sign extension problem which resulted in incorrectly giving the
message "No space on volume--file skipped" when the free space on the
volume was above a certain size.
2. the file "APPNOTE.TXT" contains the latest (April 15, 1990) PKWARE ZIP
file specifications and discussion of algorithms used in PKZIP 1.10.
UnZip 1.02b - Dec 14, 1989:
1. corrected search for "end central directory signature" which would cause
a file to be incorrectly identified as "Not a ZIP file" when there was no
zipfile comment.
2. modified source code to compile under THINK C 4.0.
UnZip 1.02 - Dec 3, 1989:
1. use Shell sort instead of bubble sort for sorting of Shannon-Fano trees
resulting in 3 seconds saving per "exploded" file on Mac Plus when
sorting literal SF tree (if literal SF tree is present)
2. speeded up "exploding" data processing about 15% through use of register
variables in critical loops
3. use negative numbers to indicate a leaf node has been reached in Shannon-
Fano trees enabling reduction of tree storage space by 50%
4. check for "command-." at completion of processing of each dearchived
file to abort processing of remaining archived files in ZIP file
5. disabled "Extract" menu item on opening application
6. checked from end of file for 8192 bytes (16 sectors) rather than 2
sectors for end central directory signature; certain bulletin boards are
adding quite long zip comments in the "end central directory record"
7. to minimize disk reads, read in the last 8K of a ZIP file into a buffer
before searching for end central directory signature and to construct the
catalogue of archived files in the ZIP file
8. reduced disk read/write "thrashing" on disk-based system when stripping
linefeeds from text files by utilizing 24K output buffer
UnZip 1.01 - Sep 10, 1989:
1. check for sufficient space on volume before creating new dearchived files
2. added filter to dearchive ".GIF" and 'TEXT' files only
3. added message which gives size and colors of dearchived ".GIF" files
4. added "Choose Each File" (command-F) option for random file dearchiving
5. fixed problem with output buffer which led to infinite size dearchived
files
6. fixed register allocation problem in "UnReduce" function which sometimes
caused an infinite loop
7. added progress indicator window during dearchiving
8. added last mod file date and time in window view of ZIP file contents
9. set dearchived (Mac) file date and time and last mod date and time to ZIP
archived file last mod date and time
10. dearchiving code for "exploding" implemented derived from Turbo Pascal
source of R.P. Byrne (version 2.0 of 07-31-89)
11. the file "appnote.txt" contains the latest PKWARE ZIP file specifications
and discussion of algorithms used in PKZIP 1.02
UnZip 0.92 - Aug 21, 1989:
1. first release of program enabling "extracting", "unshrinking" and
"expanding" of ZIP files.
About the Program:
-----------------
".ZIP" files are a type of MS-DOS archive file developed by the software firm
PKWARE, Inc. similar to but incompatible with ".ARC" files or ".LZH" files.
Many IBM BBS have switched to the ZIP file format and automatically convert
all uploaded files to the ZIP format before making them available for
downloading. The purpose of this program is to enable Mac users to "dearchive"
ZIP files. For example, this will enable Mac users to use uploaded C or Pascal
source code and have access to "GIF" files which have been converted to the
ZIP format.
UnZip 1.02c will decompress files archived using PKZIP v1.10, PKZIP v1.02,
PKZIP v1.01, or PKZIP v0.92. Files are placed in the volume and directory in
which the ZIP file is located so make sure that there is sufficient room for
the dearchived files to be created there. The application will check for
sufficient space being available and will skip the file if there is not
sufficient space. A temporary file is created when linefeeds are stripped so
for one stage of processing twice the space is temporarily required.
The original C source code for "extracting", "unshrinking" and "expanding" was
written in Turbo C 2.0 and is copyright by Samuel H. Smith and adapted for the
Atari ST by Darin Wayrynen. The original file may be found on various
IBM-oriented BBS under the name "st_unzip.zip". The original source code for
"exploding" was written in Turbo Pascal 5.0 and is copyright by R.P. Byrne. The
original file may be found on various IBM-oriented BBS under the name
"dezip20.zip". I have converted the Smith programs to, and implemented a
modified version of Byrne's "exploding" algorithms in THINK C 4.0; I have added
a Mac interface utilizing TransSkel 2.01 and TransDisplay 2.0 by Paul DuBois.
TransSkel and TransDisplay are public domain and may be found, for example, on
CompuServe and on GEnie in the developers forums in each. I have also added an
"archive viewing" capability when opening a ZIP file, a linefeed stripping
capability for text files, a GIF info message, and setting the file date and
time which were not part of the original source code.
The StuffIt file consists of the following:
1. UnZip 1.02c - the application
2. UnZip.╣ - THINK C 4.0 project file
3. UnZip.╣.rsrc - resource file for project
4. unzip.c - THINK C 4.0 source code for application
5. crc32.h - THINK C source file-include file for application
(unmodified)
6. crc32.c - THINK C source file-32-bit crc in-line assembly
(unmodified)
7. UNZIP.DOC - documentation for original source code
of Smith and Wayrynen (unmodified)
8. ORIGINAL.UNZIP.C - original unmodified source code of Messrs.
Smith and Wayrynen
9. APPNOTE.TXT - April 15, 1990 ZIP file specifications from
PKWARE, Inc.
10. About.UnZip 1.02c - this file
Files 5.-9. are unmodified except for linefeed stripping for Mac users. Refer
to "UNZIP.DOC" and "ORIGINAL.UNZIP.C" for disclaimers and conditions of use.
Note: Files created with UnZip 1.02c are given a file creator of 'pZIP' and a
file type of 'pBIN' for binary (non-text) files and a file type of 'TEXT' for
text files except in the case of a file ending in ".GIF" or ".gif" which is
actually a binary file but is given a file type of 'TEXT' so that it may be
opened by a GIF viewer. GIF files sometimes seem to give rise to a "Bad CRC"
message but this does not seem to affect their ability to be processed by a
GIF viewer.
Peter Maika July 14, 1990 Toronto, Ontario.
CompuServe 76657,2037
GEnie AP.MAIKA
CRS Peter Maika
Rose Media Peter Maika